<?php
/**
 *  extention.func.php 用户自定义函数库
 *
 * @copyright			(C) 2005-2010 PHPCMS
 * @license				http://www.phpcms.cn/license/
 * @lastmodify			2010-10-27
 */
 function catidurl($catid)
 {
 
 	//global $CATEGORYS;
	$siteid = $GLOBALS['siteid'] = max($siteid,1);
	$CATEGORYS = getcache('category_content_'.$siteid,'commons');
	return $CATEGORYS[$catid]['url'];
 }
?>